package cn.iocoder.yudao.module.nmkj.controller.admin.introduction.vo;

import cn.iocoder.yudao.module.nmkj.dal.dataobject.introduction.IntroductionDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商品介绍列表 Request VO")
@Data
@ToString(callSuper = true)
public class IntroductionReqVO {

    @Schema(description = "选项卡文字")
    private String switchTab;

    @Schema(description = "产品图")
    private String img;

    @Schema(description = "简述")
    private String describes;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "介绍内容")
    private String content;

    @Schema(description = "排序权值")
    private Long sort;

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
